<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>主页</title>
    <link rel="stylesheet" href="../css/common.css">
    <!-- 引入 editor.md 的依赖 -->
    <link rel="stylesheet" href="../editor.md/css/editormd.min.css" />
</head>

<body>
    <div class="navigation">
        <img src="../img/logo.JPG" alt="logo">
        <span>我的博客系统</span>
        <a href="./list.html">主页</a>
        <a href="./edit.html">写博客</a>
        <a href="./login.html" class="margin-R40">注销</a>
    </div>
    <div class="container">
        <div class="editWidget">
            <div class="editTitle">
                <input type="text" placeholder="在这里编写文章标题">
                <button>发布文章</button>
            </div>
            <div id="richTextWidget">
            </div>
        </div>
    </div>
</body>
<!-- 引入 editor.md 的依赖 -->
<script src="../editor.md/examples/js/jquery.min.js"></script>
<script src="../editor.md/lib/marked.min.js"></script>
<script src="../editor.md/lib/prettify.min.js"></script>
<script src="../editor.md/editormd.js"></script>
<script>
    let edit = editormd('richTextWidget',{
        width:"100%",
        height:"calc(100% - 55px)",
        path: "../editor.md/lib/",
        });
</script>
</html>